package com.mine.frame.mylandemo.adapter

import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import com.mine.frame.mylandemo.R
import com.mine.frame.mylandemo.entity.pl.HomeBean

/**
 * @Date 2022/4/18
 * Description:
 */
class HomeAdapter : BaseQuickAdapter<HomeBean, BaseViewHolder>(R.layout.item_home) {
    override fun convert(holder: BaseViewHolder, item: HomeBean) {
        holder.setText(R.id.tvTitle ,"MeshId: ${item.homeId}")
        holder.setText(R.id.tvName ,"MeshName: ${item.homeName}")
    }
}